package rhc.spider.signal.signalTouch;

import java.util.Collection;
import java.util.Map;

import rhc.spider.crawler.Crawler;
import rhc.spider.request.Request;
import rhc.spider.signal.SignalTouch;
import rhc.spider.signal.signalInterface.AddRequestSignal;
import rhc.spider.signal.signalInterface.CrawlerOpenSignal;

public class AddRequestSignalTouch implements SignalTouch<AddRequestSignal>{

	@Override
	public void touchSignal(Collection<AddRequestSignal> signalInterfaces,
			Map<String, Object> signalObject) {
		
		for(AddRequestSignal signalInterface:signalInterfaces){
			signalInterface.addRequest();
		}
		
		signalObject.clear();
		
	}

}
